Taking an early CD withdrawal typically comes with a penalty, but it could be worth paying in certain scenarios.