Fwiw most leases are a 60-day notice to terminate residency in CA, at least the ones for my tenants- I think that is pretty standard in the California Apartment Association. Also many counties in CA have renter protections in place so only just cause evictions.
But still, it's always good to have 6 months of backup emergency funds!