In some circumstances, a flat share can be a lease, but it cannot be an assured shorthold tenancy if the landlord is resident with the tenant.