if you need to serve this notice to the tenant then you can discuss with a process server or sheriff how best to accomplish it.
The notice can be served as usual - in this case by posting and mailing if the tenant is not at home. It is irrelevant whether the tenant is in jail or anywhere else. Just be sure you serve the right notice for the right reason. If the 3-day notice is for non-payment of rent, then the tenant must be behind in rent. If it is a 3-day notice to quit, as you say, then you may serve such a notice for various reasons, but not simply because the tenant is in jail.