In answer to your question, absolutely not. Scolding her hours afterwards will only confuse her.
A common misconception with dogs is that they `know they have done wrong'. Actually, they don't. They only know you are angry for some reason. If you point out to your dog a poop on the floor, hours after she's done it, and then scold her for it, she will act `guilty' but she won't feel it - she's responding to your body language and your scolding. What we take for guilt is just an immediate response to an unpleasant situation. She will probably understand that you are angry over the poop, but it's impossible for her to make the connection that she did the poop, which resulted in poop on the floor, which resulted in you being angry. Dogs just do not have the capacity for such a complex method of reasoning.
I have to ask, though - why is she one year old and not house-trained? Is she a rescue? If so, then you need to be even more careful - she was probably often scolded during and/or after the fact by her previous owners, and most likely has learnt to hide from you when pooping. The fact that you have taught her to ring a bell to go out is wonderful. I wouldn't even scold her when you do catch her, nothing more than a stern `no' if even that.
The key to getting her to learn this is to praise, praise and more praise when she does get it right. One year is old to be still not housetrained, so there are some remedial issues you need to address. Go back to how you would train a puppy in the house, and reward and praise all correct behaviour. Like a puppy, there will be accidents, but she will overcome them.
No dog pees or poops in the house to be `naughty'. Again, this is not a concept they understand. They need time to learn like everything else, if she's going in the house it's because it's habit, or she couldn't get out in time, or for another reason. But it's never naughtiness. Keep up your good work and patience, and things will be fine.