Monthly Severance and IRA contribution

I have a severance package that is being paid out over 26 paid period. Can I contribute the maximum allowed in 2024 to my IRA? I believe this is $7000?