Of course they retain a copy; that's part of how they detect plagiarism. It's been ruled fair use in the US [1], and if it hadn't it would be in the terms and conditions. You can opt out of retention on TurnItIn, but it's the default.
[1] https://www.turnitin.com/blog/top-15-misconceptions-about-tu...