If your child lives on campus how many months did they live with you? The whole year?
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.