Memory cells are located in the bone marrow. This is where both the T-cells and the B-cells are generated and trained to effectively attack the infections. Sometimes, these memory cells are present in the organs too.