Although there is a provision, under covid rules, to base your Earned Income Credit (for 2020) on the previous year's earned income; I'm not aware of any similar provision for IRA contributions.
Your current year contribution must be based on your current year "compensation" (generally, your earned income).