Logically you'd keep as many parts as possible inside, where the temperature is easier to control?
Don’t know if this is considered during installation?
The compressor is usually in the outdoor unit, because of noise, size, and proximity to the controls. It also is the item that consumes most of the power, so for minisplits, the outdoor unit is the part wired for high currents. It usually is wrapped in a nice insulating blanket (for sound as well), and vapor injection techniques used in cold climate pumps means the heat wasted is minimal.