The immigration rules allow some people to apply to remain in the UK on the basis of long residence. Those who had periods of overstaying can apply for