Yes, you can still collect rent from other players who land on your properties while you are in jail. Your properties operate normally and continue to generate income as if you were still moving around the board. Being in jail restricts your movement, not your ownership rights.