Yes, cats remember where they live and where they used to live. They mark all around their territory with their own scent. We can’t smell it, but their powerful sense of smell enables them to tell which cats live where.