The answer depends on the situation. In general: no, they only need to share common ground.
If they are different voltages, then already in the question you say they are different power sources.
If they are at single voltage, it depends on whether the outputs are directly tied together or not. If they are not, it doesn’t matter.
The thing you shouldn’t do is directly linking outputs together.
(1) Each power supply provides slightly different voltage, so they will interfere with each other. Each of them is trying to maintain a stable output of its own, affecting feedback loops of all other power supplies, which then react and try to adjust. The effect is either a huge imbalance between what current each power supply delivers or some of them falling into oscillation, trying to follow each other.
As for mixing multiple USB ports, I would rather consider using a separate supply instead of such mixing, if power from a single USB port is insufficient. But even before that, you should be aware, that you are limiting power if you use only the supply lines.
(2) That is because data lines are required for power negotiation and without it a port will deliver only 500mW, compared to 2.5W even the oldest USB could provide, and 15W available over USB3. In other words: by merely paralelling power lines together you use two ports to obtain 200mA, while a single line with negotiated power over could give 500mA even on USB1.
(1) If there is some length of wire or other noticeable resistance between them, modern regulators that already have very tight tolerances may in practice not do anything particularly crazy. But still, even if it will work, it’s a fast way to have your device reviewed by Big Clive.
(2) Some hosts are not caring about power negotiation and will happily dump everything they have. Which is why such solutions may seem to work. But this is out-of-spec for USB: a poor choice for anything that has to be reliable in different scenarios, a dishonest move for commercial devices.