No. Although you could potentially be prosecuted for driving without a license, your lack of a license is not relevant to whose fault the accident was. If the accident was not your fault, you should be entitled to damages with or without a license.