The survivor may elect to retain the homestead for life in lieu of such share in the real estate of the deceased.