The working set model states that a process can be in RAM if and only if all of the pages that it is currently using (often approximated by the most recently used pages) can be in RAM.
In other words, the working set strategy prevents thrashing while keeping the degree of multiprogramming as high as possible.