The hull of the ship has to be very thick and sturdy. So in order to economize on materials, maximize structural strength, reduce heat loss from radiation, and get the largest possible interior space, I think you'd want it to be spherical.
It would come down to whether the space lost by using a sphere instead of a box compensates for the cost of resources and space management etc. Spheres have a lot of "dead" space, after all, if you had a 6ft sphere(as a small example), a 6ft person could only stand right in the centre, and storage would be awkward due the curvature.