By quitting, do you mean forced to quit the app?
I'm pretty sure forget the current state of the app by design.
Because I have never noticed, I lose the condition after closing it. Usually when I put on the headphones after work, I can continue the song I was up to. Sometimes it goes back to the start of the song though.