If you are currently incarcerated, you can still file your taxes. If your visit is brief: File a tax extension if your prison sentence is only a temporary one. You can file after the tax deadline, thanks to the extension.