An upstate New York prison inmate has been sentenced to 10 years in prison for falsely filing tax returns seeking $890 million in refunds.