Filing as two Head of Households for a married couple living and working in separate states.

If a married couple living and working in separate states. Each parent has one child as dependent, can each parent file as Head of Household in his own state ?  or only one parent can file as HoH the other as Separate return ? My TurboTax 2021 Home and Business is not letting me do it this way. Please help me.