When returning from the Ethereal Plane, you can choose an unoccupied space within 10 feet of where you disappeared. If no such space exists (due to a wall, creature, or other obstacle), you'll appear in the nearest unoccupied space.