While defibrillation is very important to get the heart shocked back to a normal rhythm, it is not effective without resuscitation if the patient flatlines. This clip from the Casino Royale shows Bond going into cardiac arrest. If you listen closely, you can hear his hear monitor flatline prior to Vesper Lynd shocking him. (We do love Bond's super spy version of an AED though.)