Engine out can I install Dougs beforehand

Do the head studs HAVE to come off?