Negative, Pentium 4 was x86 and thus could only address 32 bits.
64bit CPUs started hitting the mainstream in 2003, but 64bit Windows didn’t take off until Win7 in 2009. (XP had it, but no one bothered switching from 32b XP to 64b XP just to use more memory and have early adoption issues. Vista had it, but no one had Vista).
All of that was introduced in 2004. When you said “25 years ago” I assumed you meant the original P4 from 2000.