Dependent on where the water damage is located and the amount of water that was released can mean that a partial electrical rewire is needed. It would be unlikely that a full house rewire would be needed due to a flood, however a certified electrician would be able to advise you correctly once they have assessed the situation in person.