Question: how far away do you have to be for iron golems to spawn?
Answer: In order for a village to spawn iron golems, 75% of the villagers in the village must have worked in the past day, 100% of the villagers must be linked to a bed, and a player must be within 80 blocks of the village horizontally and within 44 blocks vertically.