I'm trying to determine if I can file head of household for 2024. Filed for divorce in Nov 2023, we are likely to finalize before 12/31/24, still living with wife & son

I pay for all bills and mortgage still.  Do we have to have lived in separate residences for 6 months of the year?  I checked the IRS website and it's not 100% clear