I heard of a guy that did that and his ex girlfriend told her new gangster boyfriend (real gangster) where he kept the money. It's probably safer to keep your money in the bank.
It is generally safer to not tell your secrets to people who have reason to be vindictive. If it hadn't been his stash, it would have been something else.