See
https://ttlc.intuit.com/community/credits-and-deductions/help/what-are-the-qualifications-for-the-ea...