Puerto Rico does not have a standalone residency program for spouses of undocumented individuals. Because Puerto Rico is a U.S. territory, U.S. federal immigration law applies fully. There is no territorial "state-level" pathway to legal status for a spouse who is present without authorization.
Consult a qualified U.S. immigration attorney licensed to practice in federal courts. Do not rely on notarios or local advisors unfamiliar with federal immigration consequences. Each case is fact-specific; options depend on entry history, family ties, and eligibility for waivers.