Deductions & credits

If living in the house for less than two years, there are some federal exceptions, such as job location change more than 50 miles away, etc., for partial exclusion. Does California also follow this?  Thank you.