It should atleast deter some of the intending rapists but may not work with violence involved. A knife at the throat will ensure its removal.

Besides if the penetrated object cannot be removed then this condom has to be fixed rigidly inside. Not sure how this will work.