Yes but only within the same terminal unless you have a ticket or BP for the other terminal. Unlike BKK the 2 terminals are not connected airside (for transfers there is an airside bus).
OTOH the distance between UA gates and SQ makes it feel like it is another terminal.