We know ${\rm work} = \int F \cdot dl$ , where $dl$ is the displacement of point of application of force.
Suppose I apply an instant force of $100~\rm N$ on a body and then remove the force; after that the body moves a distance $d$. When the body is moving there is no external force (other than friction, $mg$, normal reaction force). So what is the work done by $100~\rm N$ force?
Is is zero? Because when the body moved distance $d$, the $100~\rm N$ force was not there.