Retirement Plan/IRA Contribution

I retired Dec 31, 2019 but received my Company bonus in 2020.  The bonus was reported on my 2020 W2 with  Retirement Plan showing an X in Box 13. Am I eligible to contribute to an IRA since my employment officially ended in 2019. The only income from my company was the bonus.