When to disconnect Arducopter from the PC?

After programming my Arducopter APM 2.6 with the USB cord still connected for power, can I power it with a BEC before disconnecting from the comp?

Yes you can do that, just make sure the bec does not output more than 5V.