I agree in most scenarios necromancy is considered “evil” for obvious reasons but each game setting is unique and there could be some wiggle room to allow it.
Maybe the necromancer is royalty and can summon ancient fallen soldiers to rise up and defend the crown.
Maybe the necromancer works for a bank and those who die still must pay their debt and they open a big ledger and read off a debter’s name and summon them forth and upon dying again their debt is forgiven. (I summon Andy Withers who owes a debt of 52000 coin for his student loans)
The party could all be undead who were raised by another necromancer and this is just common
Simply the party could make up of individuals who lack the morals of using necromancy.