If you pay attention to when the Hulk snapped his fingers and brought half the universe back into existence.
People turned to dust by Thanos return to the exact location where they disappeared.
For example, Yelena Belova was in the bathroom when she turned to dust and came back in the same place.
Doctor Strange, Spider-Man and the Guardians of the Galaxy were still on Titan when they returned.
Now think about all the people who were on boats or planes.
People in planes fell to their deaths and people in boats drowned.
Those who were in elevators is a really obscure fact that is not understood in the movies.
What is the most interesting place that comes to your mind?