The squash vine borer overwinters in the ground and will be present the following year and the cycle of the pest impacting your plants is likely.
If you are growing these plants in the same garden area each year, you should plant them in a different area the following year/practice crop rotation. The squash vine borer overwinters in the ground and will be present the following year and the cycle of the pest impacting your plants is likely.