With memory management enabled, there is no guarantee. However, if you use the planning capability of rtabmap, you can ask to go to a label not anymore in WM and it will plan a path to go there in the graph, retrieving appropriate nodes along the way (mainly this
paper).