Not effective at the right frequencies to offer meaningful protection. There have been demonstrations of vehicles disabled by local EMP.
You certainly wouldn’t be guaranteed protection, but from my understanding, various factors, including the proximity to the attack, would determine whether or not the car computer would cease to function.
From what I read, it seemed as though many cars would certainly be affected, but it wouldn’t be all of them.