When I was building my first piece of furniture I remember reading a SO answer or forum post where someone made a special note of how sanding has some effect on opening up the grain, and either should or should not (I can't remember which) be done within an hour or two of spraying lacquer. At the time I made no special note of it because they said it as though it was industry standard knowledge that everyone would be talking about in other articles.
Now I'm trying to remember what the advice was and understand it for use in my projects, but Google is turning up no results for timing sanding in relation to finishing. Is there actually any difference between sanding 15 minutes before spraying lacquer and sanding several days before? Assume that in either case the surface is properly cleaned just before spraying begins.