In Modern Warfare 2, the player character cannot put their hands up—there's no control for it. Even if there were, enemies might still shoot you anyway.
Only Non-Playable Characters raise their hands, and that only happens during specific scripted events in the game.