I think the answer is she's making a choice based on her preferences:
1. Live and Work in SF make $80k, and live in small expensive housing
2. Work in SF and make $80k, live in Stockton and get more and pay less for a house, and spend a ton of time commuting
3. Live and Work in Stockton, make way less, live in a place larger than SF but Smaller than #2 and not have to commute
She chose #2 - others make different choices