As the others have said, it doesn't seem like a good idea to do it. But if
you're going to go ahead and are asking how to identify those resources that
are unassigned to tasks in order to delete them, switch to the Resource
Usage view, collapse the outline, and look for resources with zero work (and
that are missing the little plus box next to the name that indicates they
have tasks under tme in the outline).