They could, but it may not necessarily be in their best interest. I would be proactive and contact the new owners. Ask them what their plans are. If they plan to sell the home, the new owner will still have to honor your lease if you have one. Otherwise, as Pam stated, you will have at least 60 days ionce you are notified to move.
In California, landlord tenant law prevents the tenant from being evicted when ownership changes. However, if you are on a month-to-month lease, or your lease has expired, they may give you a 60 day notice. Do you have a property manager involved?
That answer is maybe. You have to check with a local lawyer because like all other state enforced policies, you may have a yes or no depending on the situation, who owns the place now, etc... In any case, be ready to move.