No, it is only good for the main feeder and to other panels within the same dwelling. Conductors feeding a detached "shop" must comply with 310.16. So it's ok to run #4 copper feeders to a subpanel on the 2nd floor of a dwelling for 100 amps, but if 100 amps is desired for a detached shop, #2 copper should be run.