Yes.
In order to contribute to an IRA, you need to have earned income.
In you have a retirement at work, your ability to deduct your contribution depends on your Modified Adjusted Gross Income (MAGI).
Please read this IRS document for more information.