State tax filing

Thanks for the quick answer. Well noted. However, he was a student until June and I supported him, can I claim him as a dependent for 2024??