The surface area of the oblate ($c < a$) spheroid is:
$$S = 2 \pi a^2 \left( 1 + \frac{1 - e^2}{e}\tanh^{-1} e \right)$$
where $e^2 = 1 - \frac{c^2}{a^2}$.
Which gives us $\approx 0.51 \times 10^9 \text{ km}^2$.
Dividing the volume of the oceans by this results gives us $\approx 2.6 \text{ km}$.
Note: Earth is not a sphere. An ellipsoid is a better representation of our Earth. Nevertheless, the answer to your question would have been approximately the same had I used a sphere instead, as suggested in the title of your question.
510,100,000 square kilometers of surface area, and a total of 1,386,000,000 cubic kilometers of water gives you a 2.717 kilometer column of water across the whole planet if it was billiard ball smooth, but the same basic shape.