Either or both of you can continue living in the property as long as your tenancy agreement lasts and you can pay the rent.
Depending on what the tenancy agreement says, you might not have an automatic right for the tenancy to be taken over by just one of you.
But your landlord might be happy for you to do this as long as you can afford the rent.
Your landlord might ask for references or a ‘guarantor’ – who will promise to pay the rent if you can’t. Your landlord might charge for this.
If one of you wants to stay in the property – it’s important not to end your existing tenancy without getting a new one from your landlord. When you’ve ended your tenancy, you’ll have no rights to remain there.
If you want to move out, you’re responsible for making sure the rent is paid (and any damages paid for) until the end of your tenancy or notice period.
You’re each responsible – so if your ex-partner can’t or won’t pay – the landlord could ask you for the full amount, and vice versa.