For many years now SL has reset certain values back to its value on last login after an irregular logout (like a crash or timeout).
I can understand how that might be necessary for script state or alpha layers but it should be relatively cheap to save some more recent last login location like the one from a minute before the crash or the last teleport or crossing into a region.