Be honest with yourself about your project's business model and commercial potential. Just as specific producers work on specific types of material, so do certain agents.
I'm not saying every screenwriter must live in Los Angeles. I'm saying every TELEVISION writer must live in Los Angeles. Until you bite the bullet and move, you WILL NOT BREAK INTO TV.