Only if you also have the USB cable that goes from the computer to the back of the monitor so the signal from your keyboard can reach the computer. DVI does not pass USB information.
Thanks for your response. I guess in the end I'm still required to have a usb cable connected to the macbook. I'd like to get rid of as much cables as possible, so maybe the bluetooth keyboard is the best option. Although, I like the form of the wired keyboard more. I wish there was a bluetooth version