I was divorced in January of 2021. I sold my house and moved in August of 2021 with a roommate. Can I file head of household this year?

I paid 100% of household expenses up until August, at which point household expenses were split 50/50.  I have 2 dependents.