No, firstly, the Intel Core i5 3320M is a mobile processor, which is found in laptops.
The HP has a Intel Pentium E5400, which is socket LGA775. You'd have to replace it with another socket 775 CPU for it to work, and even then, I don't know whether the BIOS of the HP would allow for a different processor.