2 siblings sold a home, who has to file taxes on the home ?

If 2 siblings sold a home, one get a check for the full amount. Who has to file taxes ? 
1 sibling lived in the home as a primary residence the other did not.