I had somethign similar before, funnily the one time I beat the third boss when I both kiled him and died myself, long explosion sounds and vibratio s, boss dies, I get respawned in the boss room and play as if I never died.
but achieving your situation is quite unique too