Depends on the application and the source.
For example, when disconnecting an automotive battery, always disconnect the negative first, this is in the event that the wrench comes in contact with the frame, with the neg. it won't matter, but if disconnecting the Pos first, and the same scenario...