Arrived 2005 so you were supposed to apply ILR 2007 and we are now year 2009..you left it too long
You can apply for your ILR after you've completed your 24 months of stay (start date since you arrived in UK with your spouse visa).
Even though Im very confident to answer your query, Its also a good idea to ask advice from Home Office.