a movie about all people vanishing suddenly

So i can remember the two main characters were guys and the always argued and were in a fight. It was happening in a big city, one day one of them woke up and there was no one on the streets and anywhere. Then they found each other and figured out that when they stop arguing and start being friendly again, everyone came back and it was like normal.

Got something to say?