The bot often ressurect near hostile mob(s). This will result in you getting in combat with low hp. Seems the bot never tries to find a safe resurrection spot.
Sometimes the bot ressurect immediately as the Resurrection dialog pop up. Sometimes it runs to the exact spot where it died, and then resurrect.