As a general rule you would need to have lived in the UK continuously for the past 3 years. You would also need provable residency in the UK (either indefinite leave to remain or permanent right to reside).

Did this answer your question?