This depends on whether the landlord allows it or not. In many cases, tenants will need to obtain written consent from their landlords to sublet a property legally.