Deductions & credits

If they are not related to you they have to live with you the whole year.  Your children or parents don't.