California's high cost of living is making it harder for residents to stay.