I foster a lot of dogs and I totally agree with the no free roam of the house. When I get a new foster pup, they stay in the room I am in, and are harnessed to something so they can't wander off. If you have baby gates this works also. Our house is kinda open floor plan so we can't do that.
First thing in the morning, when she wakes up, take her outside. I prefer that dogs go pee outside. Keep the smell out of the house. After breakfast and a little play time, outside again (maybe an hour later?). Then usually it's nap time for the dogs. When lunch time comes around, food, then pee/poop again. It really helps to feed meals on a schedule instead of free feeding. Same time food goes in, usually same time it comes out.
Anytime after they wake from a nap, outside again. My boy Toto was not well potty trained when we got him. He is still not 100%. If he needs to go, he does not tell me. My Uni tells me when she needs to go (or she will go in one of the bathtubs or shower), that is what I call 100% potty trained. So since Toto isn't totally trained, I really try not to let him have the opportunity to have an accident. I take him out often.
Another way you may think of it is, for example, think of us humans. We know we are supposed to go in bathrooms. But if we really need to go and we can't find a bathroom, what do we do? We pee behind a bush, in a dark alley, in the forest, etc. If you can't hold it anymore you just find a place to go! Dogs are the same. If they feel like going, they will go some place away from their food and bed and just go. So don't give them that opportunity. Take her out often and on a schedule.
Has Toto peed in the house lately? Yes. And it was my fault. I didn't take him out and he needed to go, so he went.
Anyway, good for you for taking in the dog. Wishing you the best.