The Crab pulsar and its surrounding nebula is a well-known relic of a massive star that exploded in 1054 AD. The Crab nebula was generally believed to be a good standard candle in gamma rays. Recently, this view has been challenged by sudden increases in the gamma-ray flux in a narrow spectral band within a few hundred MeV. These flares are short but powerful; their duration is between a few hours and up to several days with a rising/falling time of a few hours/days. To date it is neither clear what mechanism powers these flares nor where exactly in the nebula they should be located. However, recent models seem to favor emission sites inside the nebula. In the present work, we study the magneto-hydrodynamic tearing instability occurring in a double current sheet configuration with application to the Crab flares. This is investigated by means of resistive relativistic magneto-hydrodynamic simulations. These put some constraints on the maximum Lorentz factor of the striped wind, Γ≲150 and on the localization of the emission region, r ≈ 50 rL where rL = c/Ω is the light-cylinder radius, c is the speed of light and Ω is the rotation speed of the pulsar. Sites close to but outside the light-cylinder are favored in our model.