Yes, but the flash file will not carrier-unlock the device. It only resets software. For SIM unlocking, you need an unlock code separate from firmware.
Before downloading a flash file, confirm your device matches the RM-902 variant, which is the version of the Asha 501. Model: Nokia Asha 501 (Dual SIM). nokia rm-902 flash file