No. Retaliation is automatic, even for heroes. Any unit that is attacked by a unit within its range, will retaliate.