Like many countries, an arrest in Japan does not always lead to 起訴 (kiso, prosecution). Socially, however, that distinction can be harder to maintain.
A recent case involving an actress accused of 違法薬物使用の疑い (ihō yakubutsu shiyō no utagai, suspicion of illegal drug use) illustrates this gap between legal outcomes and public perception. The investigation did not lead to an arrest, and prosecutors later decided not to file charges. As a result, the case ended with a decision of 不起訴 (fukiso, nonprosecution).
Under Japanese law, neither 逮捕 (taiho, arrest) nor 書類送検 (shorui sōken, sending documents to a prosecutor) automatically results in prosecution. Prosecutors must determine whether there is sufficient 証拠 (shōko, evidence) to bring a case to 裁判 (saiban, trial), and some investigations conclude without formal charges.

AloJapan.com