To be legal you need to remove the wiring especially if it is chased in. Otherwise the next house owner will not have any idea there's a live wire under the wall and potentially drill, cut or nail into it. Capping it off properly and plastering over is safe enough for you only, provided you remember...