is it ileagle to reside in your home without water or electricity in california?
Nope
Theoretically, if a health and safety hazard, it could be 'condemned by the inspectors and 'sealed' against occupancy.