Complex sentence: The orbit can be open (so the object never returns) or closed (returning), depending on the total energy (kinetic + potential energy) of the system.
Split into simpler sentences: The orbit can be open (implying the object never returns) or closed (returning). Which it is depends on the total energy (kinetic + potential energy) of the system.