Deductions & credits

The IRS considers temporary living (dorm, off campus apartment) as still permanently living at home for the residency test.   You can answer 'all year' to that question.