It depends. If you know everything is going to fit together, intonate correctly etc then finishing can be done first. If not an assembly followed by disassembly is a good idea when building from scratch.
If a body from Warmoth has inserts in it, finishing then assembling is not really a problem as they can be covered as already suggested.
I always dry fit everything to check things prior to assembly in any case.