I was thinking of naturalization when I said 3 years. Yes, two years I think is fine for British spouses to apply for ILR.