Cal. Rev. & Tax. Code § 17014
(a) “Resident” includes:
(b) Any individual (and spouse) who is domiciled in this state shall be considered outside this state for a temporary or transitory purpose while that individual:
(d) For any taxable year beginning on or after January 1, 1994, any individual domiciled in this state who is absent from the state for an uninterrupted period of at least 546 consecutive days under an employment-related contract shall be considered outside this state for other than a temporary or transitory purpose.