Nope, it comes under the transportation of live fish thing. You cannot take a fish from one body of water with intention of then placing it in another, for stocking or any other reason.
Therefore, if you are retaining a fish, you should kill it quickly and not have it sat in a 5 gallon bucket...