Who gets the house dividing real estate assets in a divorce

Who gets the house dividing real estate assets in a divorce