Yes, it simply hides the content, it is still kept in their database so if the robots.txt disappears, it pops back from their archive.
New pages won't be archived though.
My understanding is that sites like archive.org honor robots.txt retroactively not because they are required to, but to best honor the wishes of the content provider.