Claiming child as dependent who moved abroad for a work/school apprenticeship during the tax year

Good afternoon,

 

My daughter moved to Germany on June 12, 2023 when she was still 17 years old. Until then, she lived at home with my spouse and myself. She will be 18 years old by 12/31/2023. I lived with her in Germany for 2 months together at my parents home until August 20, 2023. She started a business apprenticeship (3 days of work, 2 days of trade school) on August 1, 2023, earning about $6,000 until the end of 2023. I have provided 100% of her financial support during her time in the U.S. and during my time in Germany 1/1/2023 until 8/21/2023. Thereafter, she mostly supported herself with the income she is making.

 

Can I claim her as dependent on my 2023 tax return (joint return together with my spouse)? 

 

Thanks.