That's very city/state dependent. SF has a lot of tenant protections, which is probably what the parent was referring to. In a lot of SF apartments, the landlord can only evict a tenant under specific conditions, one of which is owner moving in (https://en.wikipedia.org/wiki/Ellis_Act).