The rich cities that are too expensive to live in are often the ones that provide the most benefits to the homeless, both legal and illegal. Anything from free or discounted food, medical care, laundry, charitable organizations, people who give money to panhandlers, lenient law enforcement, less violent crime, better weather, and easier targets to steal from.
Not to mention your entire support network and your friends are still there.