An object at rest is being acted on by several forces which add up to zero.
For instance, a box is sitting on an inclined plane. It is not falling down the plan because the force of friction cancels the component force of gravity parallel to the plane, and it is not falling through the plane because the normal force exactly cancels the force of gravity perpendicular to the plane.
If we define work as force times distance, there's no work being done on the box, because the box isn't moving. But can we say that any of the individual forces did work because they prevented the box from moving a given distance?
Also, what if the entire system is moving at a uniform velocity relative to a given frame of reference? Let's say the system is moving towards the center of the earth at uniform velocity. After a certain amount of time, the system has technically moved some distance x, and the force acting in the direction of this movement, gravity, is not zero, so we should get a non-zero value for work. But relative to the system itself, no work was done! Is that really possible?