Can we split the Gross Proceeds from the sale of my primary residence in half if there were 2 married couples that owned the home? Both couples owned it 50/50

Just curious how to report the proceeds while both couples file taxes separately.