On a schematic, wires are perfect and have zero impedance, so both schematics are exactly the same. On a schematic, the goal is maximum clarity. It doesn't matter that it looks different than your board, as long as you arrange it in the way that is easiest to understand.
In a real circuit, wires and traces have resistance and impedance, so if they are long enough, the way stuff is organized can matter. It depends on the currents, frequencies, type of circuit, etc.
If this was the case here, the person in charge of the schematic would write a note next to the components for the person doing the layout.