Yes - the rule is that the application for Adjustment of Status can't happen while you're already in the US.