I looked up after your reply, they decay by losing energy based on the matter they interact with. So in the vacuum of space they can travel great distances as long as they don't interact with the matter.
Source: https://cosmic.lbl.gov/SKliewer/Cosmic_Rays/Muons.htm