IRA Contribution Deduction -

I am currently retired and drawing a state pension.  I worked part time on contract and earned about $50,000 and did not pay into the pension system.  My husband worked one month last year and did not pay into the pension fund.  Can we contribute to an IRA?