How is a temporary homeland of residence (Watan al-Iqamah) legally established by a traveler?

The Traveler's Prayer: Distance, Qasr, and Types of Residence