Can I claim my exes child?

My husband and I split up in December 2022. His son moved out with him at that time. Our dissolution was final February 2023. In June of 2023, his son moved back with me. He has lived with me since and will continue to. Can I claim him on my taxes this year (2024)?