The work carried out by the field when a charged particle q moves from one point to another, only depends on the potential at these two points and not the distance covered. If you move the charge beween different points you will verify this.