I have been resident in the UK since 2003 and never illegally!
Travelled in 2004 for 10 days and in 2007 for 15 days.Those are the only times i've bn out of the UK since 2003.
It's been STUDENT Visa to SPOUSE Visa...and no other type of visa in beetween the years.