Retirement tax questions

What if unemployment was included on your 2019 tax return to claim earned income credit? Can you use that figure when figuring year 2021 earned income credit?