If a celestial body were composed entirely of water, what would be the maximum radius within which it would remain liquid?

In Iain Banks' book The Algebraist such a body is mentioned, with a "being" swimming to the center and feeling no gravity there.