I first posted this as a comment, but I guess that this is an answer.
If a group is residually finite as a subgroupsemigroup, it is residually finite as a group. This is an immediate consequence of the following easy fact: if G is a group and φ:G→S is a semigroup homomorphism, then the image φ(G) is a group and φ is a group homomorphism from G to φ(G). I guess that the latter fact is in any textbook on semigroups, though I do not have one at hand.

