For 2021 you do not have to have earned income to get the refundable child tax credit. Heck you don't have to have any taxable income.