If you were married and living together out of the UK for four years or more, then you should have been given a visa which is endorsed with (KOL req), which means that as soon as you pass the Knowledge of Life in the UK test, you can apply for ILR.
Vicky