Actually, I guess I should have said... I don't recommend gluing the key while 'in place'. As squeak points out, there's a lot of potential to glue things together you don't really WANT glued!

Open the case and remove the key carefully, and then glue it away from the keyboard.