If you have lived in the UK continuously for five years and have spent less than 180 consecutive days outside of the UK each year during this period, you will be eligible for ILR.