You might think that once it's nailed down at 2, you're fine from then on, but as you're finding -- that's not always the case. At 5, she is SO busy and involved in what she's doing that she simply does not want to stop to go to the bathroom, and she's smart and self-aware enough to know that her busyness is the problem; I bet most kids this age wouldn't say "What I was doing was more important than going potty," so that's pretty smart of her.
Now the next step: She needs to start understanding that nothing she is doing is more important than "going potty" even though she really, truly, honestly thinks the opposite. What you can do is remind her at regular intervals she must go to the toilet now -- not "In a few minutes, mommy" or "After I do this, mommy," but at the time you ask. And ask frequently. She will of course say, "But I don't have to go," and then you can reply, "Until you are able to stop playing yourself, and get to the potty in time, we'll just have potty breaks so you are comfortable and dry and can keep playing without having to change clothes." Do not make her feel ashamed or self-conscious because this stage is very normal with a lot of kids as they get very engaged in their worlds. Just be matter-of-fact that she has regular breaks even if she feels she doesn't need to go. She will eventually get out of this stage. But you may hit some resistance on those "I don't need to go" times, so be ready to make it a condition of play that she also go to the potty when told, or playtime's over.
If this is happening to her at a preschool or kindergarten, you will need to work with the teacher there and find out if they have regularly schedule breaks where they tell the kids it's time to go, or whether they rely on the kids to ask to go when needed. Your daughter may need to be reminded for a while -- though in kindergarten I think it's not likely that the teacher has time to do this for individual kids, unfortunately.
Also, be sure that if the accidents are at home or when you are out with her, she has responsibility for changing her clothes (carry extra clothes and a ziplock bag for dirty ones when you're out); rinsing out the dirty underwear, pants or skirts, socks, etc. and putting them into the washer; wiping up any puddles on the floor and throwing away the paper towels, washing her hands well, etc. Every time! She eventually will see that all the time she has to spend doing these tasks is time she could be playing instead -- if she just gets to the toilet in time. Again, don't make this punishment; but be matter-of-fact and calm about it: "You're a big girl and that means you're big enough to clean up when there is an accident. The better you do with getting to the potty in time, the less you will have these chores."
As for the juice -- that doesn't seem to be the issue, especially if she is telling you directly that she is too busy doing other things and "freezed" herself, which sounds like a variation on "I was too preoccupied." If she has been fine with toileting until now, she does not have some kids' confusion about feeling the urge to go; this sounds like it's really about just not wanting to take the time. It's typical and will pass but do have her be responsible for cleanup, and send her to the toilet on a schedule for a while.