Should public offficials be permitted to use left over campaign funds to pay for their legal defense in criminal matters?

Should public offficials be permitted to use left over campaign funds to pay for their legal defense in criminal matters?