You must have lived in the UK for at least 5 years before the date of your application (or 3 years if applying based on your marriage to a British citizen).
During this time you should not have:
- Spent more than 450 days outside the UK during the 5 years before making your application (or 270 days during the 3 years before making your application based on marriage to a British citizen);
- Spent more than 90 days outside the UK in the 12 months before the date of your application; or
- Have broken any UK immigration laws (for example living illegally in the UK)