
In California you can file a Homestead declaration for your primary residence. This should not be confused in the pioneer era where one settled on federal land, make improvements as such as a cabin which one conjures as a homestead. Once that individuaL met required improvements and paid a nominal fee they were issued a federal land patent and became owners of that land.
A California homestead is an entirely different document. The owner records a declaration with the county recorder. Usually one does it because pending litigation to protect their residence from creditors. It is my understating should claim/verdict or court judgement is awarded against you ,you retain the right to still reside on the property. A lien will be filed. and once you sell, the lien holder is paid first for the sum owed.
Tim