For the Earned Income Tax Credit, you would need to have earned income to qualify, even with dependents.
For the Child Tax Credit, in 2022, the credit will be refundable only up to $1,500, depending on income. You must have earned income of at least $2,500 to be eligible for a refund.