Deductions & credits

If they normally would live with you when the are not in school, then they lived with you the entire year. The IRS considers absences for school or medical treatment to be temporary absences and they do not count against the time lived at home.