What I think is, a suicide attempt is a momentary phenomenon and if failed may be in short term the person may have the tendency to attempt it again (something like a hangover after drinking....:))..but if the person can be refrained from having an opportunity to do it again for a while he may get over it for various reasons...may be thats the reason of putting in jail.