Efficient control over entanglement in spin chains is useful for quantum information processing applications. In this paper, we propose the use of a combination of staggered and constant configurations of strong static and oscillating fields to control and generate perfect entanglement in a spin chain. While both staggered and constant configurations of control fields decouple the chain from the environment, a constant configuration also modulates the spin chain Hamiltonian, as a result of which spins in the chain continue to interact with each other. We show that a staggered configuration suppresses the spin-spin interactions in a chain, allowing us to use a constant configuration at particular sites in order to induce two-qubit interactions. With insight from numerical simulations, we analytically show that a series of two-qubit interactions, if applied for appropriate durations in a specific sequence, can be used to perfectly entangle any two spins in the XY chain. We show numerically how the scheme can be used for models without the need to solve them analytically.