It might - if it's the SIM socket that's bad. (Press down gently on the top of the metal over the card - if it's under the battery, put about 2 thicknesses of regular printer paper over it, then put the battery back. If that fixes it, even intermittently, it's a bad socket.)
But it also could be a bad motherboard, bad firmware - it's not something that can be diagnosed online, all we can give you is a list of things that might cause it.