301 redirects are setup on sites that exist as seperate websites but have the same content. For example, the domain http://mydomain.com could also be viewed at a webhosting address such as, http://wehosting.mydomain.com. Google would penalise you for this as the same content exists at two seperate locations on the web.