Whether or not the barrel is mounted on the upper receiever, it has nothing to do with headspace. Headspace is not adjusted in assembly. Headspace is set by machining the chamber and barrel extension, and the bolt face and lugs "to spec".
So, no opinion can be made about the upper receiver and headspace without having a bolt.
You, as the end user, or assembler of such parts, can do nothing to adjust headspace. BTW, the bolt carrier has NO EFFECT on headspace, again, that is a function of machining of the barrel parts and bolt.
OK, the easy part is this, you can take just about any new good quality AR15/M16 barrel, and combine it with any good quality AR15/M16 bolt, and chances are about 99.999999% of the time, the headspace will be OK. And that other .0000001% of the time, it will not result a kaboom if headspace is not within certain tolerances.
So, what you do is simply order a bolt carrier assembly and charging handle from [url]www.armalite.com[/url], [url]www.jtdistributing.com[/url], [url]www.bushmaster.com[/url], [url]www.dpmsinc.com[/url], [url]www.olyarms.com/usa.html[/url], Rock River, Fulton Armory, and I am sure I have left out a few others. I have purchased from all of these places but RRA and Fulton (but they have a good rep).
A bolt carrier assembly will set you back about $110-$120. That is carrier, with key installed, bolt with all parts, firing pin, firing pin retainer, ready to drop in and shoot.
Now, I am partial to the slightly more expensive Armalite charging handle, at $24, which is made a little heavier than others on the market. On the other hand, this is not a high breakage item. Anyway, Armalite's bolt carrier assembly is $110, and about the same as most others, pricewise. The quality is good, and you could certainly do worse.
Now, simply assemble your rifle and go shoot.