You may give your distance in any units if converting to supergalactic cartesian coordinates - the SGX, SGY, and SGZ coordinates given to you in the results are in the same units of distance.

In conversions between ecliptic coordinates the distance must be given in kilometres (i.e. the same units that the program uses for the Earth radius and for the Sun-Earth distance).