There is no day-count that makes you a nonresident
California has no fixed day threshold. Residency turns on whether presence is for a temporary or transitory purpose, judged on all facts and circumstances — where your closest connections are, not how many days you counted.
Source ↗