Ummm what?

I was doing a quest but had to log out and when I came back it said that I died? Can I not log out in red zones or what?