Retirement tax questions

If you do not contribute to your 401k (retirement plan) thru work for the whole tax year, should you still get full credit for an IRA contribution.  Thank you,