Retirement tax questions

If you don't have any earned income from working (pension doesn't count) you can't contribute to a IRA for either you or your spouse.