My particular friends (and me of old) are located in Slovenia, clients are in San Francisco. You can have a decent life in Slovenia for $20k/year. You can easily get a gig in San Francisco for $60k/year. Probably even easier for $100k/year because of the whole signaling thing.
I wasn't able to save as much as my friends are because of lifestyle inflation, but I sure had a lot of fun. My margin isn't as high now that I live in San Francisco, but my glass ceiling is higher. Tradeoffs :)
PS: as you can infer from above, you can also always move. Nobody says you have to stay in a bad economy.