Can I claim my spouse who only worked 6 months of the year, as a dependent?

We just had a baby and she stopped working in June of 2024. We are a military family household.