Buying makes sense for those planning to stay in a city for at least 7-10 years. Financial preparedness is crucial