Almost true. Good thinking though.
There are exceptions to this rule, so it's more of a guidance than the actual rule. For example you could have two planets orbiting the Sun at the relatively similar distance from the Sun and a small distance from each other.