The facts definitely matter and it will need to be disclosed when you renew your green card but generally - very generally - an arrest without a conviction doesn't impact a renewal (although it could impact an application for citizenship).
If you are arrested but not indicted, how does it affect immigration?