My guess is that it's defective and that you should take it back to the store for a replacement.
I've never had a keyboard that didn't have typing capability out of the box. There might be some fancy keyboards with extra keys (like media keys) that don't work, but something standard like the space bar should work out of the box.
Like Winfrey said, what brand/make/model is this.