A federal immigration judge has ordered the deportation of a Canadian prostitute who injected a fatal dose of heroin into a Google executive in 2013 while on his yacht in Santa Cruz harbor, officials said Friday.

Alix Catherine Tichelman, 29, will be deported to Canada as soon as Immigration and Customs Enforcement officials make final arrangements for her removal, said ICE spokesman James Schwab.

Tichelman, a heroin-addict and high-end prostitute who had been living in Folsom, was sentenced to six years in county jail in May 2015 after pleading guilty to involuntary manslaughter and administering illicit drugs in the death of 51-year-old Forrest Hayes.

After serving 2 years in jail, Tichelman was released by Santa Cruz County Sheriff’s Office on March 29 after being given time off for good behavior and completing undisclosed rehabilitation programs, said Sgt. Chris Clark, a spokesman for the Santa Cruz County Sheriff’s Office.

Although ICE agents requested on March 27 that the jail hold Tichelman for an additional 48 hours beyond her release date, the sheriff’s office declined, citing department policy, Clark said.

Following her release, she was immediately taken into custody by federal immigration agents.

Tichelman is not a U.S. citizen but had been living legally in the United States, Schwab said.

“Ms. Tichelman came into U.S. Immigration and Customs Enforcement (ICE) custody after serving time for multiple criminal convictions, including involuntary manslaughter and a felony drug charge. At that point, the agency placed her in removal proceedings,” Schwab said.

On Thursday, “an immigration judge held that Ms. Tichelman’s criminal convictions were grounds for removal and ordered her removed from the United States,” Schwab said.

Schwab was unable to offer a timeline for her departure.

Hayes, a husband and father of five, met Tichelman through a “sugar daddy” website that she used for her prostitution, police said.

Tichelman’s attorney Larry Biggman, portraying the injection as an accident, had said his client was a “wounded bird” and “not demonic.”

Authorities said video from a yacht in the Santa Cruz harbor on Nov. 23, 2013, shows Tichelman injecting Hayes with heroin, downing a glass of wine, and closing the boat’s blinds before leaving the scene.

Chronicle staff writer Michael Bodley contributed to this report.

Jenna Lyons is a San Francisco Chronicle staff writer. Email: jlyons@sfchronicle.com Twitter: @JennaJourno