California Revenue & Taxation Code
Cal. Rev. & Tax. Code § 17016
Every individual who spends in the aggregate more than nine months of the taxable year within this State shall be presumed to be a resident. The presumption may be overcome by satisfactory evidence that the individual is in the State for a temporary or transitory purpose.
Source: official text