It really depends on whether they are dockong docking rings or Jump Gates. Docking rings your invincible when you lose control of your ship.
Jump Gates, you can regain your ship up until about 2 seconds before the jump. However, I've seen people in caps get stuck, then the enemy keeps shooting them while they can't get control without F1ing. We even told the guys about it, and they said; 'We don't care.' Exact quote. That should be added in the dock rape rules. Killing them when they jump in is fine, but when they are STUCK on a JG, you shouldn't be allowed to kill them. (Exception is when sitting in docking sequence waiting their turn. They can regain control. I mean when the ship is physically stuck on the JG.)