For USB 1 and 2, as Ron says, they are the same. USB 3, however, requires a new cable.
From MaxPC's article
Like the upgrade from USB 1.1 to 2.0, the new 3.0 connectors and cables will be physically and functionally compatible with hardware from the older specs. Of course, you wonâ€™t be able to maximize your bandwidth unless youâ€™re using a USB 3.0 cable with Superspeed devices and ports, but at least plugging a 3.0 cable into a 2.0 port wonâ€™t blow up your PC. The specâ€™s compatibility lies in the design of the new connectors. USB 2.0 cables worked off of four lines â€“ a pair for in/out data transfer, one line for power, and the last for grounding. USB 3.0 adds five new lines (the cable is noticeably thicker), but the new contacts sit parallel to the old ones on a different plane, as opposed to being adjacent to them. This means youâ€™ll be able to differentiate between 2.0 and 3.0 cables just by looking at the ends.