Are all keyless entry codes the same for 1997 Ford Explorers?

No , each vehicle has it's own factory keyless entry code