The person who pays more than half the cost of keeping up the home is the one who files as Head of Household. The relative income isn't the question, it's who paid the expenses.
See this answer from SuperUser Opus:https://ttlc.intuit.com/replies/4887266