The real issue here is that you will have air in the line when you reconnect it to the caliper.
Bleeding the brakes is the only way to remove the air. It doesn't matter where/if you clamp it or hang it or whatever, you will get air in the line.
Air compresses--> spongy brakes.
Bleed the brakes. :uh-huh: