My question involves landlord-tenant law in the State of: California
One of my roommates (currently there are a total of 4 of us) got married and her wife was never added to the lease. At first we thought because she was married, there was no legal issues with her staying in our apartment. Soon as we discover this Woman is not right at all in the head and has some serious problems with health and mental health (seizures, going from 0 to a million for no reason, becoming aggressive for no reason, general anger and depression/anxiety issues) we tried to have her removed from the property by speaking with police officers, and they told us because of the amount of time she has been staying, she has earned squatters rights.
We spoke with our landlords and they had told us their hands were tied but would reach out to legal to see if there is anything that could be done. They came back to us and informed us they would have to serve an eviction notice if we couldn't get her off the property. We notified her wife who is not able to be on the property due to some personal problems, and she asked us to wait before we mentioned it to her and let the roommate speak with her wife.
She did, and was nice enough to leave on her own. Yet she found out we didn't want to add her to the lease so was being pissed off about leaving. It was an all burn or one person does.
So to end this story with the question... Does she still have squatters rights to the property even though she isn't on the lease and left voluntarily? Can we be taken to court for such a short notice even though it was 4 roommates against an unauthorized/unwanted guest?
Thank you in advance.
EDIT: I should mention she still has belongings in the house, but are in the roommates room, not anywhere else.

