When you get the Extra Attack action, you can break up your movement and attack different targets at varying distances from your starting point.
Does the same apply with TWF? As in, can I approach my first target, use my attack action, then move, and use my bonus action to attack a different target?
From PHB 195:
"When you take the Attack action and attack with a light
melee weapon that you're holding in one hand, you can
use a bonus action to attack with a different light melee
weapon that you're holding in the other hand."
The key seems to be how to interpret "when:" either "immediately after" or "whenever (during your turn)."
Best Answer
Yes you can break up the attacks from Two Weapon Fighting
The rules in the SRD make it clear that this is completely legal:
Clearly, Two-Weapon Fighting involves more than one weapon attack and thus qualifies to have those attacks broken up with movement in between if so desired.
If that isn't good enough, Jeremy Crawford (official D&D rules guru) has also made it clear that this is correct:
Note: I realize this answer comes to the same conclusion as @LegendaryDude, but I felt that the answer would be much improved with the addition of cited sources.