Stimulus Payment Eligibility

My son graduated from college spring 2020 and found a full time job November 2020. Technically he can still qualify as a dependent on my taxes, but if I did not claim him as a dependent he would qualify for the Stimulus Recovery Rebate Credit. Is that legal to do?