Yes, both Intel i5 and i7 CPUs have the same Socket within a generation. There isn't an i5 or i7 Socket per-se. i5 and i7 classify an Intel CPU-type and not a Socket.