Welds inside a ditch cost 5-10 times the cost of welds on the surface. Consequently, the normal technique is to weld the pipe on the surface as long a underground obstructions allow (i.e., from one foreign crossing to the next). One caveat is that open ditch is a liability--it can fill up with rain water and have to be redug; pregnant, prize racing cows can fall in and die, etc. so having ditch more than 2-3 days ahead of the welders is a bad idea. In the area where I live we have been busily building pipe for 75 years, we rarely get 1/2 mile between underground obstructions, but I once had a string 1.5 miles long that we could lower in all at once.
Having one ditch open is best. If you open a ditch and lay two lines in it your lay costs will be somewhere around 75% the cost of digging two ditches and laying the same pipes.
David