Please follow https://www.irs.gov/newsroom/heres-who-qualifies-a-taxpayer-for-the-child-and-dependent-care-credit.