Did you report the identity theft to the IRS and did you receive a 6 digit Identity Protection PIN from the IRS?
Whether your return can be filed electronically depends on the type of identity theft you experienced. You can try to submit your return electronically and see if it is accepted.
As DoninGA points out, identity theft should be reported to the IRS and if they gave you an Identity Protection PIN (IP PIN), you have to include that on your tax return. Please click here to learn more.
If you do have an IP PIN, this is how to enter it: