Can a dependent be cared for by a relative?

Dependent care may be provided by a relative or non-relative but cannot be provided by your child under the age of 19 (tax dependent or not), the child’s parent, or another tax dependent.

Read more on this on the IRS website, here: https://www.irs.gov/taxtopics/tc602