Ground forces are always on planets, in a space area with ships that have capacity values, or being transported by those ships.
This is the official Living Rules Reference wording under Ground Forces.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.