You can contribute to a traditional IRA if you have taxable compensation. There are no age limits for an IRA contribution.
If you file a joint return, you may be able to contribute to an IRA even if you do not have taxable compensation as long as your spouse did. Each spouse can make a contribution up to the current limit; however, the total of your combined contributions cannot be more than the taxable compensation reported on your joint return.