Short answer
It may erase some learned values but does not change the software or cure a fault. On newer cars, disconnecting the battery can also cause extra warnings or lost settings in other modules.
Detailed answer
On older cars, disconnecting the battery was a frequent way of erasing temporary data. However, the ECU's software is in permanent memory and is unaffected, and on newer cars records are generally kept permanently too.
Unstable idle or changed driving character may appear afterwards for a while as learned values rebuild. Functions such as windows, sunroof and steering may need relearning.
Check the radio code and maker recommendations before disconnecting. Do not rely on this without a diagnostic result, since the cause of a fault will not go away.
Last updated: