In many journals of my field, upon acceptance of a manuscript for publication with minor revisions, the editor sets a deadline (4 weeks, in many journals) for submission for the revised manuscript.
While I usually resubmit these papers as fast as possible, I don't see the benefit for the editor to set a deadline. After all, once a paper is “almost accepted”, the authors are motivated enough to get it over the final line, aren't they?