Should be enabled by default. Just seek within a video file to any position that is not at the very beginning or the end and close VLC. Once you play that file again it should prompt you to resume the playback.
EDIT: of course this doesn't apply to streams or non-seekable files
EDIT: of course this doesn't apply to streams or non-seekable files