Dependent Eligibility and AOTC

My son will be graduating from college this year.  If he's lucky enough to find a job and an apartment at some time in 2024, can I still claim him as a dependent and therefore still qualify for AOTC?  I typically pay some out-of-pocket tuition to qualify for AOTC and cover the remainder with 529 withdrawals. However, I think if I can't claim him as a dependent, I will not qualify for AOTC any longer.