Global (generated) coordinates in geometry nodes

Fetch global coordinates in geometry nodes?

I think this should do it (Cube is the object with the geonodes modifier):