In California, squatters must openly and continuously occupy an abandoned property for 5 full years to potentially claim legal ownership under adverse possession laws. The owner can interrupt this timeline and remove squatters at any point by asserting their property rights.