Without shifting position, the same technique is applied in two ways.
a) Taking two pictures from the same position (tripod and building), with the same exposure, and combining them with specific software, decreases noise (filters out the random noise) and enhances the quality of the image without resorting to noise reduction software, which is always detrimental of sharpness;
b) Taking two pictures from the same position (tripod and building), with different exposure, and combining the two images with specific software, increases the quality of the image by using the best S/N ratio of the two images. It's a way to increase dynamic range. That's not to be confused with HDR images, which have a distinctive appearance. Images taken with technique b) appear as having normal dynamic range, but better quality in the shadows.
The technique under a) is used in some scanner software, with scanners supporting it (e.g. VueScan and Nikon CoolScan 5000) and is called "multiple pass" or something like that. The film can be scanned 2, 4, 8, 16 times. The theoretical increase in quality from passing from 1 to 2 scans is very high, while from passing from 8 to 16 scans is very low.
The technique under b) is used in some scanner software, with scanners supporting it (e.g. VueScan and Nikon CoolScan 5000) and is normally called "multiexposure". The film is scanned twice with two different lamp intensities and the software combines the two scans, allowing to capture the entire dynamic range of the slide film while having clean shadows.
In my experience, merging two images taken with a digital camera with specific software gives some problems, some visible edge artifacts, visible at pixel peeping that is, probably not in print, but makes the final product unusable for some purposes (such as giving to certain stock agencies).
Multiexposure during scanning works a charm if the scanner supports it adequately (precise positioning). Multiple passes also make sense.