Deductions & credits

I did a test on my desktop program and reported a dependent child with a birthdate of 10-12-2009 and the child appeared in the drop down menu and the program gave me the credit. Did both parents have earned income ?