Retirement tax questions

Yes.

Note that there are income limits in computing the amount of the credit. Please see the table at the IRS that describes the income limits.