My home city is Lucknow.
It depends on the individual profile. I spent 36 years out of Lucknow (1979 to 2015) due to the job as there was no office of my employer organization at my home city. I lived in Mumbai (twice), Agra (twice), Jaipur, Bhopal, Guwahati, Nagpur, Bhopal, Kolkata and visited many cities and places in the meantime. However, after coming back to Lucknow, I feel at home.
I used to miss the culture of my city at other places and the various roads, lanes, and bylanes where I used to spend time as a student. I used to particularly miss a historical monument known as the 'Residency' at Lucknow, where inside a cemetery complex, I used to practice mathematics with one of my friend who is no more.
In the meantime, there had been a vast expansion in the city and many new areas have got added. Nowadays, it has become difficult to negotiate the old part of the city where we used to reside in the olden days.
Even inanimate objects of the home city attract.
I have read in the literature that the people used to have an attachment to their home cities because of its cremation/burial grounds also because their forefathers were cremated/buried there.
Let us encourage each other in sharing knowledge.