The rules for buying and selling real estate – how long should you stay?