The names of the victims, who both lived in the Sacramento area, were released Wednesday after family members had been notified of their deaths, sheriff's officials said.
The sheriff's office responded to a report from a passing motorist of two bodies on Dunbarton Road in Royal Oaks, southeast of Watsonville, at 10:12 p.m. Sunday, according to the sheriff's office.
The bodies were behind a car parked on the road's shoulder, sheriff's officials said.
The case remains under investigation.
Anyone with information on the deaths is asked to call Sgt. Terry Kaiser at (831) 755-3772 or the sheriff's tip line at (888) 833-4847.