Louer avant ou après avoir trouvé un emploi

Vaut-il mieux commencer à chercher un appartement en même temps ou après avoir trouvé son emploi ?