Retirement tax questions

If both spouses had income, it really does matter.

Since you said you had no income your spouse can contribute for you up to his earnings not used up in his own IRA, if any.