Yes, you do need to shred cardboard for a worm bin. Worms like wood pulp, which is what makes up most of the cardboard. Worms will have an easier time eating shredded cardboard. If they can't eat the cardboard, you won't be able to get compost from the worm bin.