Retirement tax questions

No. You will record it when you do your 2021 tax return in early 2022.

But note that you can only make a Roth contribution if you have earned income. While the cash for it can come from the inheritance, the amount you can contribute is based on 2021 earned income from working.  Also see:

Amount of Roth IRA Contributions That You Can Make For 2021 | Internal Revenue Service (irs.gov)