A rental housing owner may set reasonable standards by which a tenant’s guest will be considered a resident. The length of time a guest may stay with a tenant is usually governed by the rental agreement or lease. California law does not specify how long a guest may stay in a tenant’s rental unit. It is important, however, for a rental agreement to limit guest visits, so that they do not become occupants with legal rights.