Retirement and Bonus

I retired on 12/31/2022 but received a bonus on 3/15/2023 for a sizeable amount.  I am retired without any earned income in 2023 and do not plan to have earned income this year.   Because I received a bonus in 2023, can I contribute to my IRA based on the bonus amount being "earned" income?  I am currently 57.  Thanks in advance