Tax Year Prior to 2020: Full time student

If dependent went to college just in the spring semester - which includes parts of January through May can he/she be claimed as a full-time student and a dependent (they are 23) since they would have been in school for parts of 5 months?