Disclaimer: The materials provided below are informational and should not be relied upon as legal advice.
Did you have an employment agreement or were you an at-will employee? If you were an at-will employee, they can lay you off. Likely, a good portion of your compensation was being able to live there rent free. You can try to speak with them and see if they are wiling to extend your employment for a short while until you have found a new place to move to. Be sure to consult your own attorney to protect your legal rights.
Unfortunately, unless you have a specific written employment agreement which sets forth your rights and obligations, you as an employed resident manager don't really have much rights in California.
Presumably, if your employer provided you with housing as part of your employment, you will have to move out within the 30 days.
Frank W. Chen is licensed to practice law in the State of California. The information presented here is general in nature and is not intended, nor should be construed, as legal advice. This posting does not create any attorney-client relationship with the author. For specific advice about your particular situation, consult your own attorney.