Reign of the Fallen

Fantasy, magic, bisexual protagonists, and people coming back from the dead. If those things pique your interest, Reign of the Fallen might be the book for you