No, they do not need to be in the center of the PCB or even in the center of what ever project the PCB is mounted in.
Even inside one IC each of the three axes are not in the center of the chip.
For any application that may require the IMU frame to be in the center there are ways to calibrate the sensors to compensate for being off-center.