You must construct your home in an area that is zoned for residential use. Most laws and requirements are going to vary based on the area and its geography. Most California jurisdictions will require an entire site plan to apply for building permits.