Successful execution of two queries, one after the other

I need to execute two queries, one after the other. If, almost all results of both the queries overlap and if the result of first query is stored in the memory, will it reduce the execution time of the second query?
