So when she had her flash or memory of dying in Sawyers arms, she actually asked to go out for coffee?
Also, did Ben have a complete flashback? Is that why he cried when Danielle said he was like a father to Alex?
Well, on the island, when Juliet was dying at the start of the Season 6, her last words to Sawyer were about getting coffee and going dutch, which at the time seemed just like delirious rambling due to her injuries. It turned out she said these things later in the sideways world, just as she and Sawyer started to remember each other.
To me, this means that Juliet already had one foot in the sideways world as she was speaking her dying words to Sawyer in the real world.