What is the minimum clearance that should be left in front of the return?

We are bulinding a built in bookshelf and we have a return up against one of the boohshelf's side and were wondering if we can get real close to the return (2-6in) or if we should move the return?