Haha that's an interesting question. I'm figuring that the closest "2 planets away" would be the canonical distance between Earth and Mercury, ie 57 million miles (92 million km).
But it's the other extreme that's more interesting.
Let's say that for a planet to be the "next" planet over at any given time, it has to be the closest one... by direct line measurement, not by orbit. So for Earth, the next planet over could be at any given time Mercury, Venus or Mars. The most isolated Earth can be from all other planets would be when the planet that is closest to us at a given moment is as far away is it can be. That turns out to be Mercury, whose maximal distance is about 138 million miles away (222 million km). There's always going to be a planet that is that distance to us or closer.
So imagine that Mars happens to be 137 million miles from us while Mercury and Venus are both at least 138 million miles away. That would make Mars the "next" planet over. Then the "next" planet over from Mars could be either Venus or Mercury. If we're assuming Mars is as isolated as possible than the next closest planet besides Earth would be Mercury which at its furtherst could be at most 198 million miles away (319 million km). Thus, ignoring trigonometry which would put a constraint on the Mercury-Mars leg of the triangle, two planets away from us could be at most 336 million miles (540 million km) away.
So between 57 and 336 million miles is your answer.