Not necessarily. If the bathroom is in a lower floor or the basement, it's easier to vent the fan through a side wall. In such cases, a wall-mount fan usually makes more sense than a ceiling-mount.
A single 6-in. duct runs from the fan to the vent hood through the roof. Some inline fans have plugs and others are hard-wired. Each bathroom is also wired to operate independent power switches.