This would heavily depend on your DM and their position on the situation. Like most things with Dungeon and Dragons, rules that aren't explicit and tend to vary from table to table. Although you can not make an undead creature living again, there is a chance that you could theoretically make them undead again. However, instead of testing it and having a costly diamond end up being wasted, I would just use the spell Raise Dead.