Yes, but can be also before, it depends. If we use 'się' as a accusativ (the sentence given by Jagoda) - Anna saw (who? what? Acc.) się <siebie>, than always after the verb, but 'Before I realized that...' 'Zanim zorientowałam się, że..' can be also 'Zanim się zorientowałam, że...'.