To apply for Universal Credit you need to show:
Your right to reside depends on things like your work, family and personal situation. You can check if you have a right to reside.
To stay in the UK after 30 June 2021 you need to apply for ‘settled status’ or ‘pre-settled status’. It’s best to apply as soon as you can.
You can apply for:
settled status if you’ve lived in the UK for 5 years or more
pre-settled status if you’ve lived in the UK for less than 5 years – and were living here by 31 December 2020
You can’t apply for Universal Credit if you’re subject to immigration control.
You’ll also need to meet or be exempt from the ‘habitual residence test’.