I tested the scenario you described and this is what happens:
-The enemy hits you, reducing your hp to zero
-The poison deals damage (but your hp are already at zero)
-At this point, you come back to life using a resurrection (only one)
Everything seems to be working correctly, but I'll do more tests in the future