When one enters a city or village the game just continues running like you are resting in the village or city, so the other player does not have to wait.
On the campaign map both just get a character like Warband, they can choose to be enemies or coop, doesn't matter for the game.