No, that wouldn't work. That's basically backwards of how USB hubs work. One computer, multiple peripherals, not the othe way around.
You'd either need to set it up on one computer, share the printer, and then network the two computers, or you'd need to set up the printer with some kind of network connection (some wireless base stations even have USB ports to share printers with).