The very concept of a "god" is highly abstract. That's the whole point. Even "parent" is an abstract idea. Young animals don't imprint on their parents because they understand the parent/child relationship. They do it because of simple conditioning: "this one feeds me, this one protects me from other animals." Even that is probably too sophisticated a representation of what goes on in the brains of other mammals.
It doesn't need to be sophisticated. Dogs are man's best friend, but that doesn't mean they sit around pontificating on the meaning of friendship-- they just feel loyalty and sympathy and so forth. People feel the same things, but elevate it to the abstract. Mammals are hard-wired with parent and child behaviors, and that can lead to substitute parental figures. A chimp is unlikely to create an abstract deity or anthropomorphize aspects of nature, but people are not abstract concepts. We're visible and present, and we control the lights and the food and the toys and so forth. So I would say that domesticated chimps would very likely look at us as god-like figures.