I think it's just the convenience of having magma forges available instantly, and an almost infinite supply that can be drained and refilled, at a Z-Level higher than the magma sea.
That may seem self evident, as that sentence is simply a description of a volcano. However, those features are what makes things like warming all the hallways in a frozen embark, or weaponizing magma much easier, or possible at all.
When adjusting options to get necromancers, it's a combination of things, in my experience. In particular, the things are: having dwarves die, lots of civs, and lots of sites per civ. This varies by world size, though, as if your world is too large, there's not enough conflict to have enough death, and the civs are too far apart to interact.
In a 33x33, for example, I've found a site cap of 15 and 20 civs, with 1000 per civ seems to work pretty well, with 10 secrets. Having demons also seems to make dark fortresses possible, and goblins be far more aggressive or active.
It's possible just having the death from lots of titans, megabeasts, forgotten beasts, and semi-megabeasts might be enough? I haven't tested that recently.
Another similar parameter set, Vel Caldean; this time, with evil regions, 9 necro towers total, and a lakefront embark with a reanimating/undead biome within range of 5 necro towers, also steel friendly:
Created in DF v0.44.12.
[WORLD_GEN]
[TITLE:ROUND3]
[SEED:AY8mEwg0y2gk6agcAaoW]
[HISTORY_SEED:qA6Yiucyg4KKaYiMUwoo]
[NAME_SEED:mSi6mMQMqm6w6Wm8Y06m]
[CREATURE_SEED:GQYSUIMWESkqKku6IWyA]
[DIM:33:33]
[EMBARK_POINTS:10000]
[END_YEAR:500]
[BEAST_END_YEAR:500:-1]
[REVEAL_ALL_HISTORY:0]
[CULL_HISTORICAL_FIGURES:1]
[ELEVATION:200:400:0:0]
[RAINFALL:0:9:3200:3200]
[TEMPERATURE:25:25:0:0]
[DRAINAGE:0:100:0:0]
[VOLCANISM:0:0:0:0]
[SAVAGERY:0:100:0:0]
[ELEVATION_FREQUENCY:2:1:0:0:0:10]
[RAIN_FREQUENCY:1:1:1:1:1:1]
[DRAINAGE_FREQUENCY:1:1:1:1:1:1]
[TEMPERATURE_FREQUENCY:1:1:1:1:1:1]
[SAVAGERY_FREQUENCY:1:1:1:1:1:1]
[VOLCANISM_FREQUENCY:1:1:1:1:1:1]
[POLE:NONE]
[MINERAL_SCARCITY:500]
[MEGABEAST_CAP:0]
[SEMIMEGABEAST_CAP:0]
[TITAN_NUMBER:0]
[TITAN_ATTACK_TRIGGER:6:0:1]
[DEMON_NUMBER:10]
[NIGHT_TROLL_NUMBER:0]
[BOGEYMAN_NUMBER:0]
[VAMPIRE_NUMBER:0]
[WEREBEAST_NUMBER:0]
[SECRET_NUMBER:10]
[REGIONAL_INTERACTION_NUMBER:10]
[DISTURBANCE_INTERACTION_NUMBER:0]
[EVIL_CLOUD_NUMBER:10]
[EVIL_RAIN_NUMBER:0]
[GENERATE_DIVINE_MATERIALS:0]
[GOOD_SQ_COUNTS:0:0:0]
[EVIL_SQ_COUNTS:0:0:1089]
[PEAK_NUMBER_MIN:0]
[PARTIAL_OCEAN_EDGE_MIN:0]
[COMPLETE_OCEAN_EDGE_MIN:4]
[VOLCANO_MIN:0]
[REGION_COUNTS:SWAMP:0:0:0]
[REGION_COUNTS:DESERT:0:0:0]
[REGION_COUNTS:FOREST:0:0:0]
[REGION_COUNTS:MOUNTAINS:0:0:0]
[REGION_COUNTS:OCEAN:0:0:0]
[REGION_COUNTS:GLACIER:0:0:0]
[REGION_COUNTS:TUNDRA:0:0:0]
[REGION_COUNTS:GRASSLAND:0:0:0]
[REGION_COUNTS:HILLS:0:0:0]
[EROSION_CYCLE_COUNT:1000]
[RIVER_MINS:0:0]
[PERIODICALLY_ERODE_EXTREMES:1]
[OROGRAPHIC_PRECIPITATION:0]
[SUBREGION_MAX:5000]
[CAVERN_LAYER_COUNT:1]
[CAVERN_LAYER_OPENNESS_MIN:100]
[CAVERN_LAYER_OPENNESS_MAX:100]
[CAVERN_LAYER_PASSAGE_DENSITY_MIN:0]
[CAVERN_LAYER_PASSAGE_DENSITY_MAX:0]
[CAVERN_LAYER_WATER_MIN:15]
[CAVERN_LAYER_WATER_MAX:15]
[HAVE_BOTTOM_LAYER_1:1]
[HAVE_BOTTOM_LAYER_2:1]
[LEVELS_ABOVE_GROUND:4]
[LEVELS_ABOVE_LAYER_1:5]
[LEVELS_ABOVE_LAYER_2:1]
[LEVELS_ABOVE_LAYER_3:1]
[LEVELS_ABOVE_LAYER_4:1]
[LEVELS_ABOVE_LAYER_5:2]
[LEVELS_AT_BOTTOM:1]
[CAVE_MIN_SIZE:1]
[CAVE_MAX_SIZE:1]
[MOUNTAIN_CAVE_MIN:0]
[NON_MOUNTAIN_CAVE_MIN:0]
[ALL_CAVES_VISIBLE:1]
[SHOW_EMBARK_TUNNEL:2]
[TOTAL_CIV_NUMBER:20]
[TOTAL_CIV_POPULATION:1000]
[SITE_CAP:15]
[PLAYABLE_CIVILIZATION_REQUIRED:1]
[ELEVATION_RANGES:0:0:0]
[RAIN_RANGES:0:0:0]
[DRAINAGE_RANGES:0:0:0]
[SAVAGERY_RANGES:0:0:0]
[VOLCANISM_RANGES:0:0:0]