They use a distance called the parsec (a contraction of parallax and second), based on a universal measure called the stellar parallax and equivalent to 3.26 light-years.
You scoff, remembering that a parsec is a unit of distance, not time, when suddenly your ship powers down and a boarding party is beating down the outside hatch.